/**
 * jims
 */
package com.jims.master.modules.csm.dao;

import com.jims.master.common.persistence.CrudDao;
import com.jims.master.common.persistence.annotation.MyBatisDao;
import com.jims.master.common.web.impl.BaseDto;
import com.jims.master.modules.csm.entity.ExpExportMaster;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 消耗品出库主记录DAO接口
 * @author fengyg
 * @version 2017-03-16
 */
@MyBatisDao
public interface ExpExportMasterDao extends CrudDao<ExpExportMaster> {

    /**
     * 出库单据查询
     * @param expExportMaster
     * @return
     */
	public List<ExpExportMaster> findExportList(ExpExportMaster expExportMaster);

    public int findDocumentNo(ExpExportMaster expExportMaster);

    /**
     * 消耗品出库数据统计接口
     * @param exportDate,orgId
     * @return
     * @author 朱齐
     */
    public List<BaseDto> expExportCount(@Param("exportDate")String exportDate,@Param("orgId")String orgId);
}